package com.mysterymall.Model.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.Instant;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName com.mysterymall.Model.Entity
 * @Description
 * @Author HuangWX
 * @Time 2023/12/22  15:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "`user`")
public class User extends BaseEntity implements Serializable {
    @TableField(value = "role_id")
    private String roleId;

    @TableField(value = "user_name")
    private String userName;

    @TableField(value = "`password`")
    private String password;

    @TableField(value = "nickname")
    private String nickname;

    @TableField(value = "user_images")
    private String userImages;

    @TableField(value = "sex")
    private Integer sex;

    @TableField(value = "mailbox")
    private String mailbox;

    @TableField(value = "address")
    private String address;

    @TableField(value = "birthday")
    private Instant birthday;

    @TableField(value = "amount")
    private BigDecimal amount;

    @TableField(value = "payment_password")
    private String paymentPassword;

    @TableField(value = "brokerage")
    private BigDecimal brokerage;

    @TableField(value = "`scale`")
    private BigDecimal scale;

    @TableField(value = "invitation_code")
    private String invitationCode;

    @TableField(value = "acquiesce_back_card")
    private String acquiesceBackCard;

    @TableField(value = "`status`")
    private Integer status;

    private static final long serialVersionUID = 1L;
}